<template>
    <el-form :inline="true" ref="form" size="mini" class="p-2 mt5">
        <el-form-item label="" class="pl-10">
        </el-form-item>
        <el-form-item>
            <el-select :placeholder="$t('crm.quicReply.General')" style="width: 100px;" v-model="value">
                <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
                </el-option>
            </el-select>
        </el-form-item>
        <el-form-item>
            <el-select :placeholder="$t('crm.quicReply.Order')" style="width: 100px;">
            </el-select>
        </el-form-item>

        <el-form-item>
            <el-select :placeholder="$t('crm.quicReply.Delivery')" style="width: 100px;">
            </el-select>
        </el-form-item>

        <el-form-item>
            <el-select :placeholder="$t('crm.quicReply.Return')" style="width: 100px;">
            </el-select>
        </el-form-item>

        <el-form-item>
            <el-select :placeholder="$t('crm.quicReply.Refund')" style="width: 100px;">
            </el-select>
        </el-form-item>

        <el-form-item>
            <el-select :placeholder="$t('crm.quicReply.Product')" style="width: 100px;">
            </el-select>
        </el-form-item>


        <el-form-item label="">
            <el-button type="success" icon="el-icon-delete" size="mini" @click="setTemplate">发送</el-button>
        </el-form-item>
    </el-form>
</template>
<script>
    export default {
        name: "crm-infoTemp",
        data() {
            return {
                options: [{
                    value: '黄金糕',
                    label: '黄金糕'
                }, {
                    value: '双皮奶',
                    label: '双皮奶'
                }, {
                    value: '蚵仔煎',
                    label: '蚵仔煎'
                }, {
                    value: '龙须面',
                    label: '龙须面'
                }, {
                    value: '北京烤鸭',
                    label: '北京烤鸭'
                }],
                value: ''
            }
        },
        methods: {
            setTemplate(){
                this.$emit("setTemplate",this.value)
            }
        },
    }
</script>